Passed
Branch feature/first-draft (521840)
by Pieter Epeüs
02:27
created

NotImplementedError.errorStatus   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
import makeAppError from './app-error';
2
3
const AppError = makeAppError(RangeError);
4
5
class NotImplementedError extends AppError {
6
    get name() {
7
        return 'NotImplementedError';
8
    }
9
10
    get errorStatus() {
11
        return 405;
12
    }
13
}
14
15
export default NotImplementedError;
16